package com.yupi.yuapicommon.model.dto.user;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户更新请求
 *
 * @author yupi
 */
@Data
@ApiModel
public class UserUpdatePwdRequest implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 用户旧密码
     */
    @ApiModelProperty(value = "用户原密码")
    private String oldPassword;

    /**
     * 用户新密码
     */
    @ApiModelProperty(value = "用户新密码")
    private String newPassword;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}